.class public Lcom/instagram/creation/video/ui/TrimHandleImageView;
.super Landroid/widget/ImageView;
.source "TrimHandleImageView.java"


# instance fields
.field private a:Lcom/instagram/creation/video/ui/u;

.field private b:Z


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1
    .parameter "context"

    .prologue
    .line 16
    invoke-direct {p0, p1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    .line 13
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/instagram/creation/video/ui/TrimHandleImageView;->b:Z

    .line 17
    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 1
    .parameter "context"
    .parameter "attrs"

    .prologue
    .line 20
    invoke-direct {p0, p1, p2}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    .line 13
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/instagram/creation/video/ui/TrimHandleImageView;->b:Z

    .line 21
    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 1
    .parameter "context"
    .parameter "attrs"
    .parameter "defStyle"

    .prologue
    .line 24
    invoke-direct {p0, p1, p2, p3}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    .line 13
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/instagram/creation/video/ui/TrimHandleImageView;->b:Z

    .line 25
    return-void
.end method


# virtual methods
.method protected onLayout(ZIIII)V
    .locals 2
    .parameter "changed"
    .parameter "l"
    .parameter "t"
    .parameter "r"
    .parameter "b"

    .prologue
    .line 33
    invoke-super/range {p0 .. p5}, Landroid/widget/ImageView;->onLayout(ZIIII)V

    .line 35
    iget-boolean v0, p0, Lcom/instagram/creation/video/ui/TrimHandleImageView;->b:Z

    if-nez v0, :cond_0

    .line 36
    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    .line 37
    invoke-virtual {p0, v0}, Lcom/instagram/creation/video/ui/TrimHandleImageView;->getHitRect(Landroid/graphics/Rect;)V

    .line 38
    iget-object v1, p0, Lcom/instagram/creation/video/ui/TrimHandleImageView;->a:Lcom/instagram/creation/video/ui/u;

    invoke-interface {v1, v0}, Lcom/instagram/creation/video/ui/u;->a(Landroid/graphics/Rect;)V

    .line 39
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/instagram/creation/video/ui/TrimHandleImageView;->b:Z

    .line 41
    :cond_0
    return-void
.end method

.method public setTouchDelegate(Lcom/instagram/creation/video/ui/u;)V
    .locals 0
    .parameter "touchDelegate"

    .prologue
    .line 28
    iput-object p1, p0, Lcom/instagram/creation/video/ui/TrimHandleImageView;->a:Lcom/instagram/creation/video/ui/u;

    .line 29
    return-void
.end method
